<tagLib name="html" />
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<include file="../Public/header" />
<title>{&SITE_TITLE}</title>
    <link href="../Public/images/base.css" rel="stylesheet" type="text/css" />
<style>
.d_content {
	background-color:#F5F5F5;
}
.user_list {
	padding:10px;
}
.user_list li {
	background:#FFFFFF none repeat scroll 0% 0%;
	border:1px solid #CCCCCC;
	margin-bottom:6px;
	overflow:hidden;
	padding:10px;
}
ul li {
	list-style-image:none;
	list-style-position:outside;
	list-style-type:none;
}
.marginright {
	margin-right:5px;
}
.left {
	float:left;
}
body, h1, h2, h3, h4, h5, h6, p, ul, dl, dt, dd, form, fieldset {
	margin:0pt;
	padding:0pt;
}

.gift-msg {
	background:transparent url(__PUBLIC__/Images/qtol.jpg) no-repeat scroll 80px 10px;
	font-size:14px;
	line-height:20px;
	padding:10px 0pt 0pt 110px;
}
.qtor {
	background:transparent url(__PUBLIC__/Images/qtor.jpg) no-repeat scroll right bottom;
	padding:20px 30px 0pt 0pt;
}

</style>
<base target="_self" />
</head>
<body>
<div id="doc">
	<!-- header -->
	<include file="../Public/top" />
	<!-- /header -->
	<!-- left -->
	<include file="../Public/left" />
	<!-- /left -->
	<div id="container">
		<!-- content -->
		<div id="content">
			
			<div id="header">
                <p class="image"><a href="__APP__/space/{$uid}"><img src="{$uid|getUserFace}" width="48" /></a></p>
                <h2><me id="uid">我<else />{$uid|getUserName}</me>的礼物</h2>
                <p class="actions"><a href="__APP__/space/{$uid}"><me id="uid">我<else />{$uid|getUserName}</me>的空间</a></p>	
			<div id="board-topic-list">
				<div class="d_content">
					<ul class="user_list">
						<volist name="gifts" id="vo">
							<php>if($vo->sendWay == 2){</php>
								<me id="uid">
									<li>
										<p class="left marginright"><img border="0" alt="" src="../Public/gift/{$vo.giftImg}"/></p>
										<p>
											<a href="__APP__/space/{$vo.fromUserId}">{$vo.fromUserId|getUserName}</a>
											在 {$vo.cTime|friendlyDate} 花费了 {$vo.giftPrice}个{$config.creditName} 赠送给您的礼物。
										</p>
										<php>if ($vo->sendInfo != ""){</php>
												<p>Ta还给您留言说：</p>
												<div class="gift-msg">
													{$vo.sendInfo}
													<span class="qtor"> </span>
												</div>
										<php>}</php>
									</li>
								</me>
							<php>}else{</php>
								<li>
									<p class="left marginright"><img border="0" alt="" src="../Public/gift/{$vo.giftImg}"/></p>
									<p>
										<php>if($vo->sendWay == 3){</php>
											<font color="#336699">一位神秘的T友</font>
										<php>}else{</php>
											<a href="__APP__/space/{$vo.fromUserId}">{$vo.fromUserId|getUserName}</a>
										<php>}</php>
										在 {$vo.cTime|friendlyDate} 花费了 {$vo.giftPrice}个{$config.creditName} 赠送给您的礼物。
									</p>
									<php>if ($vo->sendInfo != ""){</php>
											<p>Ta还给您留言说：</p>
											<div class="gift-msg">
												{$vo.sendInfo}
												<span class="qtor"> </span>
											</div>
									<php>}</php>
								</li>
							<php>}</php>
							<div class="clear"></div>
						</volist>
					</ul>
				</div>
				<div class="pagination">{$page}</div>
			</div>
		</div>
		<!-- /content -->
	</div>
	
	
	
	<!-- footer -->
	<include file="../Public/footer" />
	<!-- /footer -->
</div>
</body>
</html>